#47 new
Matt

Cannot generate user and sessions

Reported by Matt | April 1st, 2009 @ 11:37 AM

Upon writing this:


script/generate authenticated user sessions \
> --include-activation \
> --stateful \
> --rspec

I get the following returned:


/Library/Ruby/Gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:105:in `const_missing': uninitialized constant Rails::Plugin::RailsStudio (NameError)
	from /Users/mmcfarling/www/ruby_dcl/vendor/plugins/acts_as_state_machine/tags/rel_1-0/init.rb:4:in `evaluate_init_rb'
	from /Users/mmcfarling/www/ruby_dcl/vendor/plugins/acts_as_state_machine/tags/rel_1-0/init.rb:3:in `class_eval'
	from /Users/mmcfarling/www/ruby_dcl/vendor/plugins/acts_as_state_machine/tags/rel_1-0/init.rb:3:in `evaluate_init_rb'
	from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/rails/plugin.rb:146:in `evaluate_init_rb'
	from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
	from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/rails/plugin.rb:142:in `evaluate_init_rb'
	from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/rails/plugin.rb:48:in `load'
	from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/rails/plugin/loader.rb:38:in `load_plugins'
	 ... 9 levels...
	from /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/commands/generate.rb:1
	from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
	from script/generate:3

Rails Information: Gem version : 1.3.1 Ruby version : ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0] Rails version : 2.3.2

Comments and changes to this ticket

  • Matt

    Matt April 1st, 2009 @ 11:42 AM

    ** Update. I had a botched acts_as_state_machine installing in vendor/plugins.

    All is well. Please close this ticket.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Restful Authentication Generator

This widely-used plugin provides a foundation for securely managing user
authentication:
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.

http://github.com/technoweenie/restful-authentication/tree

People watching this ticket

Pages